
import java.io.Serializable;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author mattia
 */
public class DataInventory implements Serializable{
    public String name;
    public String description;
    public String category;
    public int code;
    public int quantity;
    
    //Costruttore
    /*public DataInventory(String name, String description, String category, int quantity){
        this.name           = name;
        this.description    = description;
        this.category       = category;
        this.quantity       = quantity;
    }*/
    
    public DataInventory(){}
    
    public void addInventoryElement(String name, String description, String category, int quantity, int code){
        this.code           = code;
        this.name           = name;
        this.description    = description;
        this.category       = category;
        this.quantity       = quantity;
    }
}
